<jsp:include page="include/header.jsp"/>		
		

		<div class="wrapper">
			<!-- BEGIN TOP NAV -->
			<jsp:include page="include/sidebar-top.jsp"/>
			<!-- END TOP NAV -->
			
			<!-- BEGIN SIDEBAR LEFT -->
			<jsp:include page="include/sidebar-left.jsp"/>
			<!-- END SIDEBAR LEFT -->
			
			
			<!-- BEGIN SIDEBAR RIGHT -->
			<jsp:include page="include/sidebar-right.jsp"/>
			<!-- END SIDEBAR RIGHT -->
			
			
			<!-- BEGIN PAGE CONTENT -->
			<div class="page-content">
				<div class="container-fluid">
				
<!--============================================= Add your content here ========================================-->
					
						<%
					int pageNumber=1;
					/* if(request.getAttribute("page")!=null){
						pageNumber=Integer.parseInt(request.getAttribute("page").toString());
					} */
					if(session.getAttribute("page")!=null){
						pageNumber=Integer.parseInt(session.getAttribute("page").toString());
						session.removeAttribute("page");
					}
					%>
					<script type="text/javascript" src="media/js/manager.js"></script>
					<script type="text/javascript">
					$(document).ready(function() {
						$.post("list-manager-process.sp?page="+<%=pageNumber%>, {
						}, function(data) {
							$("#manager").html(getJsonManager(data));
						});
					});
					</script>
				
					<!-- Begin page heading -->
					<h1 class="page-heading">MANAGER <small>all managers</small></h1>
					<!-- End page heading -->
		<div class="row">
			<!-- Begin example member table -->
					<div class="the-box no-border">
						<div class="btn-toolbar top-table" role="toolbar">
							<div class="btn-group">
								<form role="form">
									<select name="limit" id="limit" class="form-control">
										<option>5</option>
										<option>10</option>
										<option>15</option>
										<option>20</option>
									</select>
								</form>
							</div>
							<div class="btn-group">
								<a href="add-manager.sp" class="btn btn-success"><i class="fa fa-plus"></i> Add new manager</a>
							</div>
							<div class="btn-group">
								<button type="button" class="btn btn-danger"><i class="fa fa-ban"></i> Delete selected</button>
							</div>
							<div class="btn-group">
								<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
								<i class="fa fa-cog"></i>
								</button>
								<ul class="dropdown-menu" role="menu">
									<li><a href="#fakelink">Action</a></li>
									<li><a href="#fakelink">Another action</a></li>
									<li><a href="#fakelink">Something else here</a></li>
									<li class="divider"></li>
									<li><a href="#fakelink">Separated link</a></li>
								</ul>
							</div>
							
							<div class="btn-group pull-right">
								<form role="form">
									<input name="search" id="search" type="text" class="form-control" placeholder="Search country...">
								</form>
								
							</div><!-- /.btn-group .pull-right -->
						</div><!-- /.btn-toolbar top-table -->
						<!-- Table Country here -->
						<div id="manager"></div>
						
					</div><!-- /.the-box -->
					
				
		</div>
				
				 
					
					
					
					
					
					
					
					
					
<!--============================================ End your content ============================================-->
				
					
				</div><!-- /.container-fluid -->
				

				<!-- BEGIN SIDEBAR BOTTOM -->
				<jsp:include page="include/sidebar-bottom.jsp"/>
				<!-- END SIDEBAR BOTTOM -->
				
				
			</div><!-- /.page-content -->
		</div><!-- /.wrapper -->
		<!-- END PAGE CONTENT -->


<jsp:include page="include/footer.jsp"/>			
				
				
